import { configType } from '@/base-ui'

export const addForm: configType[] = [
  {
    field: 'name',
    label: '用户名',
    type: 'input',
    placeholder: '输入用户名'
  },
  {
    field: 'realname',
    label: '真实姓名',
    type: 'input',
    placeholder: '输入真实姓名'
  },
  {
    field: 'password',
    label: '密码',
    type: 'input',
    placeholder: '输入密码',
    isShow: true
  },
  {
    field: 'cellphone',
    label: '手机号',
    type: 'input',
    placeholder: '输入手机号'
  },
  {
    field: 'departmentId',
    label: '部门',
    type: 'select',
    placeholder: '选择部门',
    options: []
  },
  {
    field: 'roleId',
    label: '角色',
    type: 'select',
    placeholder: '选择角色',
    options: []
  }
]
